package com.order.fegin;

import com.goods.enumeration.CodeEnumeration;
import com.goods.utils.Result;
import com.goods.utils.ResultUtils;
import org.springframework.stereotype.Component;

@Component
public class StockServiceException   implements StockService {
    @Override
    public Result reduceStock(Integer shopId) {
        return ResultUtils.error(CodeEnumeration.SERVERERROR.getCode(),CodeEnumeration.SERVERERROR.getMessage());
    }
}
